ADP\BaseVersion\Includes\PriceDisplay\ProcessedProductSimple A

Total Complexity 67
Dependencies 10
Dependents 16
Total lines 530
Lines of code 246
Logical lines of code 147
Comment lines 148
Methods 29
Properties 11

Methods 29

Method Rating Maintainability Complexity Lines of code
getItemByPos()
S
56 7 18
calculateSubtotal()
S
54 5 22
isAffectedByRangeDiscount()
S
57 5 17
__construct()
S
57 4 16
getHtml()
S
55 3 20
getCalculatedPrice()
S
59 3 14
getPrice()
S
61 3 12
areRulesAppliedAtAll()
S
62 3 11
getOriginalPrice()
S
68 3 7
isUsingCustomPrice()
S
64 2 9
getMinDiscountRangePrice()
S
69 2 7
getWcCartItem()
S
69 2 7
getPos()
S
69 2 7
isDiscounted()
S
68 2 7
isPriceChanged()
S
64 2 10
getDiscounts()
S
69 2 7
getHistory()
S
69 2 7
areRulesApplied()
S
68 2 7
getOriginalPriceToDisplay()
S
69 2 7
setOriginalPriceToDisplay()
S
68 2 7
withContext()
S
81 1 3
getQty()
S
82 1 3
getProduct()
S
82 1 3
getPriceHtml()
S
79 1 3
getSubtotalHtml()
S
79 1 3
getQtyAlreadyInCart()
S
82 1 3
setQtyAlreadyInCart()
S
81 1 3
getFreeCartItems()
S
82 1 3
getListOfFreeCartItemChoices()
S
82 1 3